<!-- voiceSynthesizer配置 -->
<template>
    <div>
        <el-form-item label="语音内容">
            <avue-input
                type="textarea"
                v-model="main.activeObj.data.value"
                :disabled="disabled"
            ></avue-input>
        </el-form-item>
        <el-form-item label="音量">
            <avue-input-number
                v-model="main.activeOption.volume"
                :min="0"
                :max="1"
                :step="0.1"
                :disabled="disabled"
            >
            </avue-input-number>
        </el-form-item>
        <el-form-item label="语速">
            <avue-input-number
                v-model="main.activeOption.rate"
                :min="0"
                :max="10"
                :step="0.1"
                :disabled="disabled"
            >
            </avue-input-number>
        </el-form-item>
        <el-form-item label="播报次数">
            <avue-input-number
                v-model="main.activeOption.playCount"
                :min="0"
                :disabled="disabled"
            >
            </avue-input-number>
        </el-form-item>
        <!-- <el-form-item label="循环">
            <avue-switch
                v-model="main.activeOption.loop"
                :disabled="disabled"
            ></avue-switch>
        </el-form-item> -->
    </div>
</template>

<script>
export default {
    name: "voiceSynthesizer",
    inject: ["main", "contain"],
    data() {
        return {
            disabled: this.contain.activeObj.isLock
        };
    }
};
</script>

<style></style>
